Skip to main content

MyPaint

Type

expression

Summary

Returns a particular paint of the widget.

Syntax

my ( foreground |             background |             highlight |             border |             top |             bottom |             shadow |             focus ) paint

Description

Use 'my ... paint' to fetch the paint to use for the given theme property of the widget. The returned paint will either be a solid color, or a pattern depending on the effective color and pattern properties of the widget's object.

Value

NameTypeDescription

return

The current setting of the specified paint of the widget.

Thank you for your feedback!

Was this page helpful?